<% %>
<%session[:user].company.reload%>
<%session[:user].company.activity_types.each do |atype|%>
<%@atype=atype%>
<div class="activity_item" id="activity_item_<%=atype.id%>">
<%=render :partial=>'activity_type/show_item',:lcoals=>{:atype=>atype}%>
</div>
<%end%>
<div id="new_activity">
<%=link_to_remote "New Activity".t,:update=>'new_activity',:url=>{:controller=>'activity_type',:action=>'new'}%>
</div>
